﻿using System.Collections.ObjectModel; 

namespace WPF.Zero.Services
{
    public interface INavigationMenuService
    {
        ObservableCollection<NavigationItem> GetNavigationItems();
    }

    public class NavigationMenuService : INavigationMenuService
    {
        public ObservableCollection<NavigationItem> GetNavigationItems()
        {
            return new ObservableCollection<NavigationItem>()
            {
                new NavigationItem("Home","SystemTips","系统功能","",new ObservableCollection<NavigationItem>()
                {
                    new NavigationItem("FormatListChecks","ToDoTips","待办事项","ToDoView"),
                    new NavigationItem("Notebook","NoteBookTips","记事本","NoteBookView"),
                    new NavigationItem("PiggyBankOutline","BillTips","我的账单","BillView"),
                }),
                new NavigationItem("Home","SoftwareTips","软件设置","",new ObservableCollection<NavigationItem>()
                {
                    new NavigationItem("Setting","SystemSettingTips","系统设置","SettingView"),
                }),
            };
        }
    }
}
